b402c8c46df8a94a52bf1df140cd80cefee49788,portal-impl/test/integration/com/liferay/portlet/journal/service/JournalArticleServiceTest.java,JournalArticleServiceTest,testFetchLatestArticleExpiredWithStatusAny,#,91

Before Change



	@Test
	public void testFetchLatestArticleExpiredWithStatusAny() throws Exception {
		testFetchLatestArticle(true, WorkflowConstants.STATUS_ANY);
	}

	@Test

After Change


	public void testFetchLatestArticleExpiredWithStatusAny() throws Exception {
		updateAndExpireLatestArticle("Version 2");

		_latestArticle = fetchLatestArticle(WorkflowConstants.STATUS_ANY);

		Assert.assertNotNull(_latestArticle);
		Assert.assertTrue(_latestArticle.isExpired());